package com.yunxin.core.wechat.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunxin.core.customer.dto.CustomerRunPageDto;
import com.yunxin.core.customer.dto.CustomerWechatPageDto;
import com.yunxin.core.customer.vo.CustomerCommonVo;
import com.yunxin.core.customer.vo.CustomerRunInfoVo;
import com.yunxin.core.customer.vo.CustomerWechatInfoVo;
import com.yunxin.core.wechat.domain.WechatFollowCustomer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【wechat_follow_customer(企业用户关联客户信息)】的数据库操作Mapper
* @createDate 2024-05-29 11:15:34
* @Entity com.yunxin.core.wechat.domain.WechatFollowCustomer
*/
@DS("crm")
@Mapper
public interface WechatFollowCustomerMapper extends BaseMapper<WechatFollowCustomer> {

    IPage<CustomerWechatInfoVo> customerWechatPageQuery(@Param("page") Page<CustomerWechatInfoVo> page,
                                                        @Param("command") CustomerWechatPageDto command);

    String listWechatCustomerTag(@Param("wechatCustomerId")Long wechatCustomerId);

}




